package com.edais.dao;

import com.edais.domain.PoundageCoupon;
import com.edais.persistence.TurnOutMapper;
import com.edais.vo.CouponVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository

public class TurnOutDao {
	@Autowired
	private  TurnOutMapper turnOutMapper;

	public String getCouponListSize(Map<String, String> map) {
		
		return turnOutMapper. getCouponListSize(map);
	}

	public List<CouponVo> getCouponList(Map<String, String> map) {
		
		return turnOutMapper.getCouponList(map);
	}

	public Map<String, String> getIsValid() {
		// TODO Auto-generated method stub
		return turnOutMapper.getIsValid();
	}

	public Map<String, Object> getSpringFestivalIcon(Map<String, Object> map){

		return turnOutMapper.getSpringFestivalIcon(map);
	}

}
